package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 * 
* @ClassName: notepad 
* @Description: 记事本定义表
* @author eason
* @date 2015年3月23日 下午1:00:00 
*
 */
@Entity
@Table(name = "tb_xa_notepad")
@ApiModel(value="记事本定义表")
public class Notepad extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="记录时间,记事本记录时间，格式：（yyyy-MM-dd HH:mm:ss）")
	private String noteTime;
	@ApiModelProperty(value="内容,mediumtext")
	private String content;
	@ApiModelProperty(value="用户Id,用户Id")
	private Long userId;
	@ApiModelProperty(value="用户名")
	private String userName;

	@Column(nullable=true,length=50)
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setNoteTime(String noteTime){
		this.noteTime=noteTime;
	}
	
	@Column(nullable=true,length=50)
	public String getNoteTime(){
		return noteTime;
	}
	public void setContent(String content){
		this.content=content;
	}
	
	@Column(nullable=true,length=2000,columnDefinition="MEDIUMTEXT")
	public String getContent(){
		return content;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
		

}
